package cn.blog.service.front;

import java.util.List;

import cn.blog.dao.front.ComDao;
import cn.blog.entity.origin.Commet;

/**
 * 评论处理业务层
 * @author zjk
 *
 */
public class ComService {
	private ComDao comdao;
	
	/**
	 * 无参构造，初始化
	 */
	public ComService() {
		comdao = new ComDao();
	}
	public List<Commet> getComAll(){
		return comdao.getComAll();
		
	}
	public int delCom(int id){
		return comdao.delComment(id);
	}
	
}
